package gui;

import java.io.File;

import javax.swing.filechooser.FileFilter;

public class ImageFileFilter extends FileFilter
{

	@Override
	public boolean accept(File f)
	{
		return f.getName().toLowerCase().endsWith("jpg")||f.isDirectory();
	}

	@Override
	public String getDescription()
	{
		return "JPG Image";
	}

}
